<#include "../layout/main.html">
<@layout>
<form class="layui-form info-form" action="">
    <input name="id" id="id" type="hidden" value="${data.brokerid}">
    <div class="layui-form-item">
        <label class="layui-form-label">编号：</label>
        <div class="layui-input-block">
            <input name="name" id="name" value="宝贝" lay-verify="required" autocomplete="off" placeholder="请输入品牌名称" class="layui-input" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户直级：</label>
        <div class="layui-input-block">
            <select name="userTitle" lay-filter="usertitle" id="usertitle" >
                <#list brokerList as plist>
                <option <#if plist.code==data.usertitle>selected</#if>  value="${plist.getCode()}">${plist.getName()}</option>
                </#list>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态：</label>
        <class="layui-input-block">
            <input name="netBroker" id="netBroker" <#if data.netBroker == 1> checked</#if> lay-skin="switch" value="1" lay-filter="netBroker" lay-text="在用|停用" type="checkbox"></div>
    </div>
    <!--<div class="layui-form-item">-->
        <!--<label class="layui-form-label">序号：</label>-->
        <!--<div class="layui-input-block">-->
            <!--<input name="sort_order" id="sort_order" value="125" lay-verify="required|number" autocomplete="off" placeholder="请输入序号" class="layui-input" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="submitForm" id="submitForm">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</@layout>